package com.shopnight.vo;

import com.shopnight.entity.TakeoutGoodsAttribute;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class TakeoutCategoryGoodsVo {
    private Integer id;
    /**
     * 类型   1->菜品分类 2->套餐分类
     */
    private Integer type;
    /**
     * 分类名称
     */
    private String name;
    private List<TakeoutGoodsVO> takeoutGoodsList;
    private List<TakeoutSetmealVO> TakeoutSetmealList;



    @Data
    public static class TakeoutGoodsVO{
        private Integer id;
        private String name;
        private String images;
        private BigDecimal price;
        private Integer seckill;
        private BigDecimal priceSeckil;
        private Integer inStocks;
        private Integer salesMonthVolume;
        private String description;
        private List<GoodsAttributeVo> attributeList;
        private SpecificationVo specification;
    }
    @Data
    public static class TakeoutSetmealVO {
        private Integer id;
        private String name;
        private BigDecimal price;
        private String description;
        private String image;
    }





}
